```typescript index.ts
import { Lambda } from 'lambda-typescript-sdk';

const lambda = new Lambda({
    // Basic HTTP authentication. Allowed headers-- `Authorization: Basic <base64 encoding of api_key>:` | `Authorization: Basic <api_key>`
    username: "USERNAME",
    password: "PASSWORD",
    // Bearer HTTP authentication. Allowed headers-- `Authorization: Bearer <api_key>`
    bearerAuth: "BEARER_AUTH"
})
```